﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace synjones.project.cas
{
    public class PasswordTools
    {
        public static string EncryptPassword(string password) {
            return (password + "").GetSHA1HashCode("utf-8").ToBase64String(); //加密密码
        }
    }
}
